package com.asset.dispoal.business.bsCase.api;

import com.asset.dispoal.business.bsCase.dto.BsCaseRequest;
import com.asset.dispoal.business.bsCase.dto.BsCaseResponse;
import tech.mhuang.pacebox.springboot.protocol.Result;
import tech.mhuang.pacebox.springboot.protocol.data.PageVO;

/**
 * @author qr
 * @date 2022/4/12$
 */
public interface BsCaseService {

    /**
     * 分页查询
     *
     * @param bsCaseRequest
     * @return
     */
    Result<PageVO<BsCaseResponse>> queryBorrowerCaseByPage(BsCaseRequest bsCaseRequest);

    Result<BsCaseResponse> getCaseById(String id);

    Result caseClose(String agreementId);

    Result abolishCase(String id, String wasteReasonId);

    /**
     * 户籍刷新接口
     *
     * @return
     */
    Result censusRefresh();

    Result statistics(String code);
}
